package com.hotel.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Yuding {
        Integer ReservationID;
        String RoomNumber;
        String CustomerName;
        @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm")
        Date CheckInDate;
        @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm")
        Date CheckOutDate;
        String ReservationStatus;
        Date ReservationDate;
        BigDecimal TotalAmount;

}
